package com.wjc.train.business.repository;

import com.wjc.train.business.entity.DailyTrainCarriage;
import com.wjc.train.business.mapper.DailyTrainCarriageMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.DailyTrainCarriageQueryReq;
import com.wjc.train.business.resp.DailyTrainCarriageQueryResp;

/**
 * <p>
 * 每日车厢表 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-08
 */
@Repository
public class DailyTrainCarriageRepository extends ServiceImpl<DailyTrainCarriageMapper, DailyTrainCarriage> implements IService<DailyTrainCarriage>  {

   public IPage<DailyTrainCarriageQueryResp> queryList(IPage<DailyTrainCarriageQueryResp> page, DailyTrainCarriageQueryReq dailytraincarriageQueryReq) {
        return baseMapper.queryList(page,dailytraincarriageQueryReq);
    }
}